home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / ckzp101.arc / HINTS.BBS < prev    next >
File List  |  1991-01-26  |  2KB  |  75 lines

  1. ============================================================================
  2. HINTS.BBS : Mostly of interest of BBS SysOps : CHECKZIP v1.01   9th Jan 1991
  3. ============================================================================
  4.  
  5. Here is my PCBoard's PCBTEST.BAT file (Comm 1):
  6. (note I also use PROECHO to pass a message to the user)
  7. -------------------------------------------------------
  8.  
  9. @echo off
  10. rem -- process test uploads request - for PCBoard 14.5
  11. rem -- %1-\path\filename, %2-the word UPLOAD
  12.  
  13. if exist pcbfail.txt del pcbfail.txt
  14. if exist pcbpass.txt del pcbpass.txt
  15. if not "%2" == "UPLOAD" goto TestZip
  16.  
  17. :TESTUPLOAD
  18. checkzip \pcb\uploads
  19. if errorlevel == 2 goto VirusFound
  20. if errorlevel == 1 goto FailedZip
  21. goto End
  22.  
  23. :VIRUSFOUND
  24. del pcbpass.txt
  25. rem>pcbfail.txt
  26. proecho 1 Upload deleted - Virus found!~~
  27. goto End
  28.  
  29. :FAILEDZIP
  30. del pcbpass.txt
  31. rem>pcbfail.txt
  32. proecho 1 Upload deleted - Failed ZIP integrity check.~~
  33. goto End
  34.  
  35. :TESTZIP
  36. pkunzip -t %1
  37. if errorlevel == 1 proecho 1 ~~File failed test. Please inform Stewart~
  38. goto End
  39.  
  40. :END
  41.  
  42. ============================================================================
  43.  
  44. Here is my ProDoor's PROUTEST.BAT :
  45. (note I also use PROECHO to pass a message to the user)
  46. -------------------------------------------------------
  47. @echo off
  48. rem -- process test uploads request - for ProDOOR 3.4ß
  49. rem -- %1-logfile, %2-testdir, %3-comport
  50.  
  51. if not exist %2\*.* goto End
  52.  
  53. :TESTUPLOAD
  54. proecho %3 ~~Testing uploads for Viruses. Please wait...~
  55. checkzip %2 >>%1
  56. if errorlevel == 2 proecho %3 ~Upload deleted - Virus found!~~
  57. if errorlevel == 1 proecho %3 ~Upload deleted - Failed ZIP integrity check.~~
  58. goto End
  59.  
  60. :END
  61.  
  62. ============================================================================
  63.  
  64. For Multinode bbs's running under DESQview
  65. ------------------------------------------
  66. I experienced some problems when using DESQview v2.25 which were overcome
  67. when I upgraded to v2.26.
  68.  
  69. ============================================================================
  70.  
  71. Enjoy!
  72.                                                           PCB-SiG BBS
  73. Have fun.... Stewart                                     (65) 734 9223
  74.  
  75.